/*
 * Copyright (c) 2024. hallele, Inc All rights reserved.
 */

package cn.hallele.infrastructure.data.util;

/**
 * hallele_mc_core
 *
 * @author anle5
 * @since 2024/10/11 23:34
 */
public class CastUtil {
    @SuppressWarnings("unchecked")
    public static <T> T cast(Object object) {
        if (object == null) {
            return null;
        }
        return (T) object;
    }
}
